@import "./commom.scss"; //引入导航栏和版权区域的公共样式


@font-face {
    font-family: "iconfont logo";
    src: url(../utils/fonts/ZCOOL\ Addict\ Italic\ 01.ttf);
}

// 设置头部标题的公共样式
%title {
    >p {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        padding-top: 102px;
        padding-bottom: 100px;
        background-color: #fff;


        span:nth-of-type(1) {
            font-size: 30px;
            color: #999;
        }

        span:nth-of-type(2) {
            font-size: 12px;
            font-weight: 600;
            color: #999;

            &:hover {
                color: #cd1414;
            }

            i {
                padding-left: 1px;
                padding-top: 1px;
                display: inline-block;
                width: 15px;
                height: 15px;
                text-align: center;
                line-height: 15px;
                border-radius: 50%;
                margin-left: 15px;
                background-color: #999;
                color: #fff;
                font-size: 12px;

                &:hover {
                    background-color: #cd1414;
                }
            }


        }
    }
}


// 版权区域


.banner {
    margin-bottom: 50px;
    width: 1200px;
    height: 460px;
    border-bottom: 2px solid #000;

    h1 {
        margin: 0 auto;
        padding: 135px;
        padding-bottom: 70px;
        width: 243px;
        height: 59px;
        font-size: 72px;
        letter-spacing: 4px;
        color: #010101;
    }

    p {
        margin: 0 auto;
        width: 100px;
        height: 38px;
        font-size: 36px;
        letter-spacing: 2px;
        color: #000000;
    }
}

// main区域

main {
    background-color: #F3F3F3;

    .articles {
        @extend %title;
    }



    // 文章区域
    .articles_content {
        position: relative;
        // 文章标题
        @extend %title;


        // 文章主体部分
        .article_content {
            margin-left: 30px;
            margin-bottom: 50px;
            margin-top: -30px;
            padding-bottom: 150px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            width: 1184px;
            // height: 1000px;



            // 内容盒子
            div {
                width: 392px;
                height: 496px;
                background-color: #fff;

                &:hover {
                    h3 {
                        color: #cd1414;
                    }

                    p:first-of-type {
                        span {
                            color: #cd1414;
                        }
                    }

                    p:nth-of-type(2) {
                        span:nth-of-type(2) {
                            color: #cd1414;
                        }

                        span.heart {
                            color: #fff;
                            background-color: #cd1414;

                            i {
                                color: #fff;
                            }
                        }
                    }



                }

                img {
                    width: 100%;
                    box-shadow: 0px 2px 2px 1px #999;
                }

                h3 {
                    margin: 25px 8px;
                    font-size: 17px;
                    font-weight: 600;
                    letter-spacing: 1px;
                    color: #535353;
                }

                p:first-of-type {
                    margin-left: -46px;
                    width: 125%;
                    height: 46px;
                    font-family: AdobeHeitiStd-Regular;
                    font-size: 10px;
                    line-height: 16px;
                    font-weight: normal;
                    font-stretch: normal;
                    letter-spacing: 0px;
                    color: #535353;
                    transform: scale(0.8);
                }

                p:nth-of-type(2) {
                    margin-top: 48px;
                    margin-left: 10px;

                    span:nth-of-type(1) {
                        color: #999;
                        font-family: "iconfont logo";
                    }

                    span:nth-of-type(2) {
                        margin-left: 5px;
                        color: #999;
                    }

                    span.heart {
                        float: right;
                        padding: 1px;
                        margin-right: 20px;
                        width: 58px;
                        height: 18px;
                        line-height: 16px;
                        font-size: 12px;
                        color: #bbb;
                        border: 1px solid #999;
                        border-radius: 10px;
                        display: inline-block;

                        i {
                            color: #CF0D0D;
                            margin-right: 2PX;
                            margin-top: 2px;
                            margin-left: 1px;
                        }


                    }
                }

            }
        }

        .icon-xiangshangjiantou {
            position: absolute;
            bottom: 0;
            left: 50%;
            display: block;
            width: 38px;
            height: 25px;
            text-align: center;

            line-height: 25px;
            font-size: 25px;
            background-color: #cd1414;
            color: #fff;
        }


    }
}